<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			//字体
			const domModule = weex.requireModule('dom')
			domModule.addRule('fontFace', {
			    'fontFamily': "iconfont",
			    'src': "url('http://at.alicdn.com/t/font_1859985_7mxozsfdvib.ttf')"
			});
			
			// 监听底部导航中间凸起按钮
			uni.onTabBarMidButtonTap(()=>{
				this.authJump({
					url: '/pages/create-live/create-live',
				})
				console.log('点击了中间按钮');
			})
			
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import url("/common/free.css");
	/*每个页面公共css */
</style>
